package com.shadow.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.shadow.common.bo.ScheduleConstants;
import com.shadow.common.enums.ConcurrencyEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * 定时任务调度表 sys_job
 *
 */
@Data
public class QuartzJob implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private Long jobId;
    private String jobGroup = "mysqlGroup";
    private String jobName;
    private String invokeTarget;
    private String cronExpression;
    private String misfirePolicy = ScheduleConstants.MISFIRE_DEFAULT;
    /* 并发 */
    private String concurrency = ConcurrencyEnum.ALLOW.getValue() + "";
    /* 状态 */
    private String status;
    /* 备注 */
    private String remark;

}
